package com.cx.mapper;

import com.cx.pojo.Recommend;
import com.cx.pojo.RecommendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RecommendMapper {
    int countByExample(RecommendExample example);

    int deleteByExample(RecommendExample example);

    int deleteByPrimaryKey(Integer recId);

    int insert(Recommend record);

    int insertSelective(Recommend record);

    List<Recommend> selectByExampleWithBLOBs(RecommendExample example);

    List<Recommend> selectByExample(RecommendExample example);

    Recommend selectByPrimaryKey(Integer recId);

    int updateByExampleSelective(@Param("record") Recommend record, @Param("example") RecommendExample example);

    int updateByExampleWithBLOBs(@Param("record") Recommend record, @Param("example") RecommendExample example);

    int updateByExample(@Param("record") Recommend record, @Param("example") RecommendExample example);

    int updateByPrimaryKeySelective(Recommend record);

    int updateByPrimaryKeyWithBLOBs(Recommend record);

    int updateByPrimaryKey(Recommend record);

    List<Recommend> selectAll();
}